import { request } from '../request.js'
const shipments = {
	initData (params) {
	  return request({
	    method: 'Get',
	    url: '/api/order/front/shipperOrder',
	    params: params
	  })
	},
	detalis (params) {
	  return request({
	    method: 'Get',
	    url: '/api/order/front/order/detail',
	    params: params
	  })
	},
	activity (params) {
	  return request({
	    method: 'Get',
	    url: '/api/cms/front/activity',
	    params: params
	  })
	},
	orderStatus (params) {
	  return request({
	    method: 'Get',
	    url: '/api/order/front/order/orderStatus',
	    params: params
	  })
	},
	newDetails(params){
		return request({
		  method: 'Get',
		  url: '/api/order/front/order/detail',
		  params: params
		})
	},
	save(params){
		return request({
		  method: 'Post',
		  url: '/api/order/front/shipperOrder/updateGoodsStatus',
		  params: params
		})
	}
	}
export default shipments